﻿using CNav.Common;
using CNav.Repository.UoV;
using Microsoft.Practices.Unity;

namespace CNav.Business
{
    public class ServiceBase
    {
        protected IUnitOfWork Context
        {
            get
            {
                return Services.Get<IUnitOfWork>();
            }
        }

        [Dependency]
        protected IServiceContainer Services { get; set; }
    }
}